export type UserId = number;

export interface User {
  id: UserId;
  username: string;
  nickName: string;
}

export interface LoginPassword {
  userId: UserId;
  encryptedPassword: string;
}

export type $User = User | undefined;
export type $LoginPassword = LoginPassword | undefined;
